package com.libraryApp.appVo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.libraryManage.commons.utils.PagingEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @CreateDate 2021-03-08
 * @Author yufang
 */
@Data
@ApiModel(description = "用户借阅记录vo")
public class AppUserBorrowVo extends PagingEntity {

    @ApiModelProperty(value = "书名")
    private String bookName;

    @ApiModelProperty(value = "作者")
    private String author;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "起始时间")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "封面地址")
    private String imageAddress;




}
